package com.huawei.appgallery.forum.message.node;

import android.content.Context;
import android.view.LayoutInflater;
import android.view.ViewGroup;
import android.view.ViewGroup.LayoutParams;
import android.widget.LinearLayout;
import com.huawei.appgallery.forum.base.card.ForumNode;
import com.huawei.appgallery.forum.message.card.ForumLauncherMsgTipCard;
import o.bvj.e;
import o.cih;

public class ForumLauncherMsgTipNode extends ForumNode {
    public ForumLauncherMsgTipNode(Context context) {
        super(context);
    }

    public boolean ˊ(ViewGroup viewGroup, ViewGroup viewGroup2) {
        LayoutParams layoutParams = new LinearLayout.LayoutParams(-1, -1);
        layoutParams.weight = 1.0f;
        cih forumLauncherMsgTipCard = new ForumLauncherMsgTipCard(this.ॱ);
        LinearLayout linearLayout = (LinearLayout) LayoutInflater.from(this.ॱ).inflate(e.ʼ, null);
        forumLauncherMsgTipCard.ˏ(linearLayout);
        ˊ(forumLauncherMsgTipCard);
        viewGroup.addView(linearLayout, layoutParams);
        return true;
    }
}
